#ifndef MD5_H
#define MD5_H

#ifdef __cplusplus
   #define EXTERN_C     extern "C"
#else
   #define EXTERN_C     extern
#endif

typedef struct {  
	ULONG i[2];  
	ULONG buf[4];  
	unsigned char in[64];  
	unsigned char digest[16];
} MD5_CTX;

EXTERN_C void CalcMD5(MD5_CTX *ctx, void *buffer,  int len);

#endif